export interface CreateOrUpdateBuildTypeRequestData {
  id?: string | undefined
  name: string
  name_en?: string
  product_id?: string
}

export interface GetBuildTypeRequestData {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
  /** 查询参数：名字 */
  name?: string
}

export interface GetBuildTypeDetailRequestData {
  /** 详情id */
  id: string
}

export interface GetBuildTypeData {
  id: string
  name: string
  name_en: string
  product_id: string
}
export type GetNewResponeseDetailData = ApiResponseData<GetBuildTypeData>

export type GetBuildTypeResponseData = ApiResponseData<{
  list: GetBuildTypeData[]
  total: number
  page: number
}>
